<template>
    <div class="center">
        <div class="top">
            <img src="https://yanxuan-static.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/noCart-d6193bd6e4.png?imageView&type=webp" alt="">
            <span @click="tianJia">去添加点什么吧</span>
        </div>
<!--        <div class="bottom">-->
<!--            登陆-->
<!--        </div>-->
    </div>
</template>

<script>
    export default {
        name: "ShopCartListCom",
        methods:{
            tianJia(){
                this.$router.push('/xinpinshoufa-allnewshop-view')
            }
        }
    }
</script>

<style scoped>
    .center{
        position :absolute;
        top :50%;
        left :50%;
        transform :translate(-50%) translateY(-50%)
    }
    .top>span{
        color: #7f7f7f;
        text-align: center;
        display: block;
        margin: 0 auto;
        font-size: .8rem;
    }
    .bottom{
        width: 80px;
        height: 40px;
        background: red;
        text-align: center;
        line-height: 40px;
        color: #fff;
        border-radius: 20px;
        margin: 0 auto;
    }
</style>